<?php 
require "viewModel.php";
	class Controller{
		protected $mod;
		protected $view;
		function __construct(){
			$this->view=new ViewModel('View/'.$_GET['c'].'/'.$_GET['m']);
		}
		public function display(){
			$this->view->display();
		}
		public function assign($variable,$value){
			$this->view->assign($variable,$value);
		}
	}

 ?>